package com.ruoyi.vehicles.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆对象 a_vehicles
 *
 * @author ruoyi
 * @date 2025-04-02
 */
public class AVehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long id;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 购车年份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购车年份", width = 30, dateFormat = "yyyy-MM-dd")
    private String purchaseYear;

    /** 所属单位ID */
    @Excel(name = "所属单位ID")
    private Long organizationId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String organizationName;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Long status;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatCount;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String image;

    /** 驾驶员 */
    @Excel(name = "驾驶员")
    private String driver;

    @Excel(name = "实际使用单位")
    private Long usingDepartmentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setLicensePlate(String licensePlate)
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate()
    {
        return licensePlate;
    }

    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }

    public void setPurchaseYear(String purchaseYear)
    {
        this.purchaseYear = purchaseYear;
    }

    public String getPurchaseYear()
    {
        return purchaseYear;
    }

    public void setOrganizationId(Long organizationId)
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId()
    {
        return organizationId;
    }

    public void setOrganizationName(String organizationName)
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName()
    {
        return organizationName;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setSeatCount(Long seatCount)
    {
        this.seatCount = seatCount;
    }

    public Long getSeatCount()
    {
        return seatCount;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public Long getUsingDepartmentId() {
        return usingDepartmentId;
    }
    public void setUsingDepartmentId(Long usingDepartmentId) {
        this.usingDepartmentId = usingDepartmentId;
    }

    @Override
    public String toString() {
        return "AVehicles{" +
                "id=" + id +
                ", licensePlate='" + licensePlate + '\'' +
                ", brand='" + brand + '\'' +
                ", purchaseYear='" + purchaseYear + '\'' +
                ", organizationId=" + organizationId +
                ", organizationName='" + organizationName + '\'' +
                ", status=" + status +
                ", type='" + type + '\'' +
                ", seatCount=" + seatCount +
                ", image='" + image + '\'' +
                ", driver='" + driver + '\'' +
                ", usingDepartmentId=" + usingDepartmentId + '\'' +
                '}';
    }
}
